body
{
	color: #333;
	margin: 0;
	padding: 0;
	min-width: 320px; 
	font-family: 'Verdana', 'Geneva', 'Arial', 'Helvetica', 'sans-serif';
}

input, button, select 
{
    border: 1px solid rgba(32,32,32,0.5);
}

input:focus, button:focus, select:focus
{
    border: 1px solid rgba(255,64,0,0.8);
    outline: none;
}

ul, li, select {
    margin: 0;
    padding: 0;

}

select
{
	line-height: 1.5em;
	height: 2.5em;
	margin: 0.5em 0;
	padding: 0 0 0 .55em;
    vertical-align: middle;
    width: 10em;
}

a
{
	background: transparent;
	text-decoration: none;
	color: #333;
}

a:hover
{
	color: #844;
    cursor:pointer;
}

::selection {
    color: #ffd; 
    background: #000;
    background: rgba(32,32,32,0.9);
    background: #c68;
}

.list-item
{
	display: inline-block;
	padding: 5px 0;
	font-size: 1em;
}


.top-panel
{
	color: #aaa;
	font-size: 80%;
}

.header
{
	position: relative;
	color: #fff;
	background: #f6f6f0;
	height: 150px;
}

.header-content
{
	margin: 0 auto;
	background-color: #f6f6f0;
	height: 100%;
	width: 96%;
	padding: 0;
}

.logo
{
	background-image: url('');
	background-color: #fffff0;
	width: 150px;
	height: 150px;
	display: block;
	float: left;
	max-width: 20%;
}

.logo-name
{
	display: block;
		float: left;
		vertical-align: top;
	color: #666;
	height: 150px;
	font-family: serif;
	font-size: 2.5em;
	text-align: center;
	text-shadow: 1px 1px 0 #aaa;
	max-width: 70%;
	overflow: hidden;
	line-height: 1;
}

.search-block
{
	display: block;
	float: right;
	margin: .375em 0;

}

.tbx, .password
{
   	margin: 0px;
	line-height: 1.5em;
	height: 1.5em;
    width: 10em;
	padding: .375em 0 .375em .55em;
}

.tbx-small
{
    width: 6em;
}

.datepicker
{
    width:7em;
}

.tbx-search
{

	width: 15em;
	background-color: #eeeee0;
}

.tbx-search:focus
{
	background-color: #f7f7f0;
}

.r-left
{
    border-radius: 4px 0px 0px 4px;
}


.btn
{
    color: #555;
    margin: 0px;
    border: 1px solid rgba(32,32,32,0.5);
    background-color: rgb(255,240,60);
    text-shadow: 1px 1px 0px rgba(255,200,200,0.4);   

	line-height: 2.25em;
	height: 2.375em;
	padding: 0 1em;

}

.btn:hover
{
    cursor: pointer;
    background: rgb(255,90,65); 
    background-color: rgb(255,255,60);
}

.btn:active span
{
    position: relative;
    top: 1px;
    left: 1px;
}

.btn-search
{
}

.nav-block
{
	display: none;
	margin: 0px 0;
}

.nav-right
{
	display: block;
	float: left;
	position: relative;
	max-width: 200px;
	width: 200px;
	margin: 20px 2% 20px -2%;
	z-index: 11;
}





.top-nav select {
  display: none;
}


.menu
{
	list-style: none;
	margin:0px;
	margin-bottom: 20px;
	padding:0px;
	background-color: #333;
	width: 100%;
	text-align: center;
	color: #fffff0;
	overflow: hidden;
}

.menu-horizontal
{
	margin-bottom: 0px;
	clear: both;

}

.menu-horizontal .menu-item
{
	display: inline-block;
}

.menu-item
{
	
	padding: 0px;
	text-align	: center;

}

.menu-item a
{
	display: block;
	padding: 5px 15px;
	text-decoration: none;
	color: #fffff0;
}

.menu-item a:hover
{
	color: #fffff0;
	background-color: #555;
}

.dropdown-menu
{
	list-style: none;
	text-align: left;
	background-color: #333;
	display:none;
	padding:0px;
	margin:0px;
	border:0px;
	position:absolute;
	width:200px;
	z-index:200;
}


.menu-item:hover .dropdown-menu
{
	display: block;
}

.select-menu
{
	padding: 0;
	height: 3em;
}

.select-menu option
{
	background: #333;
}

.content-wrapper
{
	position: relative;
	z-index: 10;
	background: #fdd;
	background: #fff;
	width: 96%;
	margin: -90px auto 0 auto;
	min-height: 400px;
	1box-shadow: 0 0 20px #333;	
}



.content
{
	position: relative;
	margin: 0 200px 0 200px;
	width: auto;
	min-width: 300px;
}



.side-panel
{
	display: block;
	float: right;
	position: relative;
	max-width: 50%;
	width: 200px;
	margin: 20px -2% 20px 2%;
	z-index: 11;
	background: #333;
	color: #e97;
}

.footer
{
	position: relative;
	margin: 0 0 0 0;
	min-height: 10em;
	background-color: #faa;
	background: #ddd;
	box-shadow: inset 0 0 2em #aaa;	
	border-top: 1px solid #999;
}

.bottom
{
	color: #777770;
	font-size: 0.8em;
	padding: 5px;
	background: #454545;
	box-shadow: inset 0 0 2em #000;	
	1height: 2em;
	text-align: center;
}


.lnk-bottom
{
	color: #aaaaa0;
}
	.lnk-bottom:hover
	{
		color: #fffff0;
	}

    

  .doublescroll 
  {
       overflow: auto; overflow-y: hidden;
  }
  .doublescroll p
  {
       margin: 0; padding: 1em; white-space: nowrap;
  }


.transition-middle {
    -o-transition: 0.4s;
    -moz-transition: 0.4s;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}



/************** NEWS ********************/

.post
{
	border: 1px solid blue;
	padding: 0 0 4em 0;
	margin: 2em 0;
}

.headline
{
}

.post-image
{
	display: block;
	float: left;
	max-width: 100%;
	width: 200px;
}

.post-cut
{
	clear: both;
}











/*******************************************/
/************* S C H E D U L E**************/
/*******************************************/

.filter
{
	background: #aaa;
	padding: 3px;
	margin-bottom: 40px;
}



.schedule-day {
	display: table;
	width: 100%;
	outline: 2px solid #666;
	text-align: left;
	vertical-align: middle;
	margin-bottom: 2em;
}

.lesson {
	display: table-row;
	height: 1.5em;

}

.lesson:nth-child(2n)
{
	background: #fefefe;
}

.lesson:nth-child(2n+1)
{
	background: #efefef;
}


.lesson .time {
	display: table-cell;
	width: 15%;
}
.lesson.label .time {
	background: #fe9;
}

.lesson .subject {
	display: table-cell;
	width: 35%;
}
.lesson.label .subject {
	background: #9fe;
}

.lesson .lesson-type {
	display: table-cell;
	width: 15%;
}
.lesson.label .lesson-type {
	background: #f9e;
}

.lesson .classroom {
	display: table-cell;
	width: 15%;
}
.lesson.label .classroom {
	background: #e9f;
}

.lesson .professor {
	display: table-cell;
	width: 20%;
}
.lesson.label .professor {
	background: #9ef;
}


.schedule-caption
{
	font-size: 2em
}

.schedule-caption .weekday
{	
	color: #666;
	font-size: 0.8em
}







/************** SLIDER *******************/

/* Задаем сброс обтекания */
.clear {
	margin-top: -1px;
	height: 1px;
	clear:both;
	zoom: 1;
}
.slider {
	width: 100%;
	height: 320px;
	margin: 0px auto;
	padding: 0 0px;
	position: relative;
	overflow: hidden;
}
/* Двойной клик по кнопкам вперед/назад вызывает выделение всех элементов слайдера,
поэтому предотвращаем это */
.slider::-moz-selection { background: transparent; color: #fff; text-shadow: none; }
.slider::selection { background: transparent; color: #fff; text-shadow: none; }
 
	.slide-list {
		position: relative;
		margin: 0;
		padding: 0;
	}
.slide-wrap {
	position: relative;
	left: 0px;
	top: 0;
	width: 10000000px;
}
.slide-item {
	overflow: hidden;
	width: auto;
	padding: 0;
	float: left;
}
.slide-title {
	font: bold 16px monospace;
	display: block;
}

.navy {
	position: absolute;
	top: 0;
	z-index: 1;
	height: 100%;
	width: 30px;
	cursor: pointer;
	opacity: 0.3;
}
.prev-slide {
	left: 0;
	background: #dbdbdb url(bg/left-arrow.png) 11px 40% no-repeat;
}
.next-slide {
	right: 0;
	background: #dbdbdb url(bg/right-arrow.png) 13px 40% no-repeat;
}
.navy.disable {
	background: #dbdbdb;
}
.auto {
	width: 7px;
	height: 11px;
	cursor: pointer;
	margin: 10px auto;
}
.play {
	background: url(bg/play.png) center no-repeat;
}
.pause {
	background: url(bg/pause.png) center no-repeat;
}




/************************/
@media (max-width: 600px) {
	.top-nav ul     { display: none; }
	.top-nav select { display: inline-block; margin: 0; }
	.slider {display: none;}
	.content-wrapper {margin-top: 10px;}
	.content {margin-left: 5px}
	.nav-right{display: none;}
	.nav-block{
		margin-bottom: 0px;
		margin-top: 10px;
		display: block;
	}
}

@media (max-width: 800px) {

	.side-panel {display: none;}
	.nav-right { max-width: 200px}
	.content {margin-right: 10px}
}
/************************/

